home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Plug-In Power Pack for Netscape Communicator
/
Plug-In Power Pack for Netscape Communicator.iso
/
plugins
/
dataviews
/
include
/
dverrors.h
< prev
next >
Wrap
Text File
|
1997-05-08
|
3KB
|
101 lines
/*
| file name -- dverrors.h
|======================================================================
|
| copyright (c) 1982
| Intelligent Software Systems, Inc.
|
| dverrors - errror code definitions
|
| Alan C Morse 1 Sep 82
| Ralf Kohler 2 Sept 82 Added control defs
| alan c morse 9 Sept 82 Added some error codes
| alan c morse 16 Feb 84 Added V_FILE_OPEN_ERROR
|
|======================================================================
|
| include-file description/function:
|
| Definitions of constants for error handling. Includes
| definitions of error codes.
|
|======================================================================
|----------------------------------------------------------------------
|
| ERROR SEVERITY CODE --
*/
# define V_SUCCESS 0
# define V_WARNING 1
# define V_SEVERE 2
# define V_FATAL 3
/*
|----------------------------------------------------------------------
|
| DATAVIEWS ERROR CODES --
|
| NOTE to programmers: Remember to change V_ERR_MAX_ERRNUM whenever
| you add an error code.
*/
# define V_NO_ERROR 0
# define V_BAD_DGDATA_STRUCTURE 1
# define V_BAD_VDDATA_STRUCTURE 2
# define V_DATA_OUT_OF_RANGE 3
# define V_BAD_ARGUMENT 4
# define V_DV_BUG 5
# define V_DFDG_MISMATCH 6
# define V_NOTIMPLEMENTED 7
# define V_TALLTITLE 8
# define V_WIDETITLE 9
# define V_TITLESPLIT 10
# define V_TYPE_UNKNOWN 11
# define V_BAD_DEVICE 12
# define V_TABLE_FULL 13
# define V_NO_DF_DEFINED 14
# define V_VP_TOOSMALL 15
# define V_DGGONE 16
# define V_VDGONE 17
# define V_FILE_OPEN_ERROR 18
# define V_INVALID_ACTION 19
# define V_AL_LINK_ERR 20
# define V_CANT_OPEN_DEVICE 21
# define V_ILL_DEFINED_INPUT_OBJECT 22
# define V_ILL_DEFINED_INPUT_TECHNIQUE 23
# define V_ILL_DEFINED_TEMPLATE 24
# define V_SIGNAL_CAUGHT 25
# define V_AL_PARSE_ERR 26
# define V_FILE_WRITE_ERROR 27
# define V_ERR_MAX_ERRNUM V_FILE_WRITE_ERROR
/*
|----------------------------------------------------------------------
|
| DATAVIEWS ERROR HANDLER CONTOL DEFINITIONS --
|
*/
#define V_ERRPRINTMSG 1
#define V_ERRSAVEMSG 2
#define V_ERRCALLSTACK 4
#define V_ERROLDSAV 8
#define V_ERRPRWARNING 16
/*
|----------------------------------------------------------------------
*/